package com.maiworld.mapper;

import com.maiworld.pojo.TbCoin;
import com.maiworld.pojo.TbCoinExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbCoinMapper {
    int countByExample(TbCoinExample example);

    int deleteByExample(TbCoinExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbCoin record);

    int insertSelective(TbCoin record);

    List<TbCoin> selectByExample(TbCoinExample example);

    TbCoin selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbCoin record, @Param("example") TbCoinExample example);

    int updateByExample(@Param("record") TbCoin record, @Param("example") TbCoinExample example);

    int updateByPrimaryKeySelective(TbCoin record);

    int updateByPrimaryKey(TbCoin record);
    
    List<TbCoin> selectByStudentID(Long sid);
}